package com.ilxqx.framework.system.service;

import com.ilxqx.framework.system.entity.SysPermission;
import com.ilxqx.framework.system.form.search.SysPermissionSearchForm;

import java.util.List;

/**
 * 系统权限服务接口类
 * @author venus
 */
public interface SysPermissionService extends SearchableService<SysPermission, Long, SysPermissionSearchForm> {

    /**
     * 根据父级权限ID，查找所有子权限
     * @param parentPermissionId 父级权限ID
     * @return 子权限列表
     */
    List<SysPermission> getListByParentPermissionId(long parentPermissionId);

}
